﻿using OnDash.Windowing.GraphicsLibraryFramework.Enums;

namespace OnDash.Windowing.Desktop.Events;

public readonly struct MouseButtonEventArgs(MouseButton button, InputAction action, KeyModifiers modifiers)
{
    public MouseButton Button { get; } = button;

    public InputAction Action { get; } = action;

    public KeyModifiers Modifiers { get; } = modifiers;

    public bool IsPressed => Action != InputAction.Release;
}